package com.sanjiahantang.youjiarole.module.common.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiarole.base.BaseBean;

/**
 * Created by yan
 * on 2018/1/31
 */

public class RichTextBean extends BaseBean {
    private String data;

    public void setData(String data) {
        this.data = data;
    }


    public RichTextBean.Item getData() {
        return new Gson().fromJson(data, RichTextBean.Item.class);
    }

    public class Item {
        private String content;
        private String createTime;
        private String noticeContent;
        private String noticeTitle;
        private String noticeTypeId;
        private String noticeTypeName;
        private String pushDestId;
        private String pushType;
        private String receivePhone;
        private String snId;
        private String updateTime;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getNoticeContent() {
            return noticeContent;
        }

        public void setNoticeContent(String noticeContent) {
            this.noticeContent = noticeContent;
        }

        public String getNoticeTitle() {
            return noticeTitle;
        }

        public void setNoticeTitle(String noticeTitle) {
            this.noticeTitle = noticeTitle;
        }

        public String getNoticeTypeId() {
            return noticeTypeId;
        }

        public void setNoticeTypeId(String noticeTypeId) {
            this.noticeTypeId = noticeTypeId;
        }

        public String getNoticeTypeName() {
            return noticeTypeName;
        }

        public void setNoticeTypeName(String noticeTypeName) {
            this.noticeTypeName = noticeTypeName;
        }

        public String getPushDestId() {
            return pushDestId;
        }

        public void setPushDestId(String pushDestId) {
            this.pushDestId = pushDestId;
        }

        public String getPushType() {
            return pushType;
        }

        public void setPushType(String pushType) {
            this.pushType = pushType;
        }

        public String getReceivePhone() {
            return receivePhone;
        }

        public void setReceivePhone(String receivePhone) {
            this.receivePhone = receivePhone;
        }

        public String getSnId() {
            return snId;
        }

        public void setSnId(String snId) {
            this.snId = snId;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }
    }
}
